export const APP_NAME = '栖云图库'

export const APP_VERSION = '1.0.0'

export const DEFAULT_PAGE_SIZE = 12

export const PAGE_SIZE_OPTIONS = [12, 24, 48, 96] as const

export const SORT_OPTIONS = [
    {value: 'newest', label: '最新上传'},
    {value: 'popular', label: '最受欢迎'},
    {value: 'download', label: '下载最多'}
] as const

/**
 * 最大文件大小：10MB
 */
export const MAX_FILE_SIZE = 10 * 1024 * 1024

export const SUPPORTED_IMAGE_FORMATS = ['jpg', 'jpeg', 'png', 'gif', 'webp', 'bmp', 'tiff'] as const

export const TOKEN_KEY = 'token'

export const USER_KEY = 'user'


